package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.mapper.FunctionMapper;
import com.usian.pojo.function.Function;
import com.usian.service.FunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FunctionServiceImpl extends ServiceImpl<FunctionMapper, Function> implements FunctionService {

    @Autowired
    private FunctionMapper functionMapper;

    @Override
    public List<Integer> decideFidByRid(Integer rid) {
        return functionMapper.decideFidByRid(rid);
    }
}
